<?php
if(  count( $this->users ) ):
    foreach( $this->users AS $user ) : ?>
	<tr class="result" id="user_<?php echo $user['user_id'] ?>">
	    <th>
		<span><?php echo $user['user_name'] ?> <?php echo $user['user_surname'] ?></span>
	    </th>
	    <td title="<?php echo $user['user_email'] ?>">
		<span><?php echo $user['user_email'] ?></span>
	    </td>
	    <td title="<?php echo $user['group_name'] ?>">
		<span><?php echo $user['group_name'] ?></span>
	    </td>
	    <td title="<?php echo $user['user_lastlogin'] ?>">
		<span><?php echo $user['user_lastlogin'] ?></span>
	    </td>
	    <td title="Operazioni">
		<span class="actions">
		    <a class="edit" href="/admin/utenti/edit/id/<?php echo $user['user_id'] ?>">Edit</a>
		    <a class="del" href="">Canc</a>
		</span>
	    </td>
	</tr>
    <?php endforeach;
else:
    ?><tr class="result"><td colspan="5">Nessun elemento presente...</td></tr> <?php	
endif;?>